Templately\Core\Importer\FullSiteImport C

Total Complexity 120
Dependencies 8
Dependents 3
Total lines 686
Lines of code 460
Logical lines of code 255
Comment lines 96
Methods 29
Properties 12

Methods 29

Method Rating Maintainability Complexity Lines of code
install_dependencies()
A
36 11 89
upload_logo()
A
44 12 42
normalize_imported_data()
A
49 12 30
import()
A
43 11 44
enqueue_template_assets()
A
51 8 22
download_zip()
A
46 7 36
register_shutdown()
S
52 7 23
unzip()
S
57 6 17
filter_content()
S
62 5 11
get_session_data()
S
61 5 11
getConnectionStatusText()
S
62 4 13
__construct()
S
57 3 15
check_writing_permission()
S
61 3 11
import_settings()
S
62 3 11
redirect_for_archives()
S
67 3 7
unzip_file()
S
62 2 11
get_post_type_label_by_slug()
S
69 2 7
get_api_url()
S
78 2 3
skipped_plugin()
S
78 2 3
throw()
S
71 2 6
read_manifest()
S
65 2 8
start_content_import()
S
62 1 11
revert()
S
91 1 2
after_install_hook()
S
72 1 6
clear_session_data()
S
80 1 3
before_install_hook()
S
69 1 7
allow_svg_upload()
S
76 1 4
update_session_data()
S
74 1 4
get_request_params()
S
82 1 3